public class Cat extends animal implements Running{
    public Cat(String name,int age){
        super("小猫",1);
    }

    @Override
    public void eat() {
        System.out.println(name + "正在吃！");
    }

    public void run(){
        System.out.println("猫在跑步！");
    }
}
